Total Complexity | 50 |
Dependencies | 9 |
Dependents | 1 |
Total lines | 416 |
Lines of code | 159 |
Logical lines of code | 88 |
Comment lines | 161 |
Methods | 14 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
perform_capture() | 35 | 16 | 84 | |
maybe_capture_paid_order() | 58 | 5 | 15 | |
do_capture_success() | 64 | 6 | 8 | |
order_can_be_captured() | 65 | 4 | 9 | |
is_order_fully_captured() | 66 | 4 | 7 | |
__construct() | 69 | 3 | 6 | |
maybe_perform_capture() | 68 | 2 | 7 | |
is_order_ready_for_capture() | 76 | 2 | 3 | |
has_order_authorization_expired() | 70 | 2 | 5 | |
get_order_authorization_amount() | 72 | 2 | 5 | |
do_capture_failed() | 98 | 1 | 1 | |
is_order_captured() | 77 | 1 | 3 | |
get_order_capture_maximum() | 80 | 1 | 3 | |
get_gateway() | 82 | 1 | 3 |